package com.dmai.capacity.platform.oauth.common.mapper;

import com.dmai.capacity.platform.common.model.CapabilityVolumeChargeRule;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 按量后付费规则表
 *
 * @author
 * @email
 * @date 2024-03-29 21:14:28
 */
@Mapper
public interface CapabilityVolumeChargeRuleDao {

    int save(CapabilityVolumeChargeRule capabilityVolumeChargeRule);

    int update(CapabilityVolumeChargeRule capabilityVolumeChargeRule);

    List<CapabilityVolumeChargeRule>  findByCapability(Integer capabilityId);

    List<CapabilityVolumeChargeRule> findAll(Map<String, Object> params);

}
